import request from '@/utils/request'

//入院客户_客户详情_基础信息_提交
export function setHospToBasics(query) {
    return request({
        url: '/agency/api.Market/setHospToBasics',
        method: 'post',
        params: query
    })
}
// 入院客户_客户详情_健康信息_提交
export function setHospToHealthy(query) {
    return request({
        url: '/agency/api.Market/setHospToHealthy',
        method: 'post',
        params: query
    })
}
// 入院客户_客户列表
export function getHospLists(query) {
    return request({
        url: '/agency/api.Market/getHospLists',
        method: 'post',
        params: query
    })
}
// 入院客户_客户详情_基础信息
export function getHospToBasics(query) {
    return request({
        url: '/agency/api.Market/getHospToBasics',
        method: 'post',
        params: query
    })
}
// 入院客户_客户详情_健康信息
export function getHospToHealthy(query) {
    return request({
        url: '/agency/api.Market/getHospToHealthy',
        method: 'post',
        params: query
    })
}

// 家属列表(全部，不分页)
export function getCustomerFamilyListsAll(query) {
    return request({
        url: '/agency/api.Market/getCustomerFamilyListsAll',
        method: 'post',
        params: query
    })
}

// 添加/修改 家属
export function setCustomerFamily(query) {
    return request({
        url: '/agency/api.Market/setCustomerFamily',
        method: 'post',
        params: query
    })
}
// 删除家属
export function delCustomerFamily(query) {
    return request({
        url: '/agency/api.Market/delCustomerFamily',
        method: 'post',
        params: query
    })
}
// 入院客户_客户详情_入院登记信息
export function getHospToRegister(query) {
    return request({
        url: '/agency/api.Market/getHospToRegister',
        method: 'post',
        params: query
    })
}
// 入院客户_客户详情_入院登记信息_保存
export function setHospToRegister(query) {
    return request({
        url: '/agency/api.Market/setHospToRegister',
        method: 'post',
        params: query
    })
}
// 入院客户_申请出院
export function setHospToLeaveApply(query) {
    return request({
        url: '/agency/api.Market/setHospToLeaveApply',
        method: 'post',
        params: query
    })
}

// 添加/修改 紧急联系人
export function setContact(query) {
    return request({
        url: '/elder/api.Member/setContact',
        method: 'post',
        params: query
    })
}
// 删除紧急联系人
export function delContact(query) {
    return request({
        url: '/elder/api.Member/delContact',
        method: 'post',
        params: query
    })
}

// 紧急联系人列表
export function getContactLists(query) {
    return request({
        url: '/elder/api.Member/getContactLists',
        method: 'post',
        params: query
    })
}